package generator

import (
	"gitee.com/yanwc/ebike-vcom-device/internal/field"
	"github.com/brianvoe/gofakeit/v6"
)

func RandomYktHelmetFault_2() field.YktHelmetFault_2 {
	var r field.YktHelmetFault_2
	if gofakeit.Bool() {
		r &= field.Sb8_0_YktHelmetTXFault2
	}

	if gofakeit.Bool() {
		r &= field.Sb8_1_YktHelmetUnknownFault2
	}

	if gofakeit.Bool() {
		r &= field.Sb8_2_YktHelmetFactoryFault2
	}

	if gofakeit.Bool() {
		r &= field.Sb8_3_YktHelmetOfflineFault2
	}

	return r
}
